dmidecode
dmidecode — це безкоштовна утиліта командного рядка для Linux, яка може аналізувати дані SMBIOS. Назва dmidecode походить від Desktop Management Interface
Серійний номер:
sudo dmidecode -s system-serial-number
[peturik@peturik-7440 rnb2]$ dmidecode -h
Usage: dmidecode [OPTIONS]
Options are:
-d, --dev-mem FILE Read memory from device FILE (default: /dev/mem)
-h, --help Display this help text and exit
-q, --quiet Less verbose output
--no-quirks Decode everything without quirks
-s, --string KEYWORD Only display the value of the given DMI string
-t, --type TYPE Only display the entries of given type
-H, --handle HANDLE Only display the entry of given handle
-u, --dump Do not decode the entries
--dump-bin FILE Dump the DMI data to a binary file
--from-dump FILE Read the DMI data from a binary file
--no-sysfs Do not attempt to read DMI data from sysfs files
--oem-string N Only display the value of the given OEM string
-V, --version Display the version and exit
[peturik@peturik-7440 rnb2]$
[peturik@peturik-7440 rnb2]$ sudo dmidecode -t system
# dmidecode 3.5
Getting SMBIOS data from sysfs.
SMBIOS 2.7 present.
Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: Dell Inc.
Product Name: Latitude E7440
Version: 01
Serial Number: BR42P12
UUID: 4c4c4544-0052-3410-8032-c2c04f503132
Wake-up Type: Power Switch
SKU Number: Latitude E7440
Family: Not Specified
...
[peturik@peturik-7440 rnb2]$ sudo dmidecode -t memory
# dmidecode 3.5
Getting SMBIOS data from sysfs.
SMBIOS 2.7 present.
Handle 0x0046, DMI type 16, 23 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None
Maximum Capacity: 16 GB
Error Information Handle: Not Provided
Number Of Devices: 2
Handle 0x0047, DMI type 17, 34 bytes
Memory Device
Array Handle: 0x0046
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 64 bits
Size: 8 GB
Form Factor: SODIMM
[peturik@peturik-7440 vrrd]$ sudo dmidecode -t memory | grep Size
Size: 8 GB
Size: No Module Installed
Category: Linux | Comments: 0